<template>
  <div class="list1">
    <img class="homePage2" src="https://resource.smartisan.com/resource/6e6d79e5c61a848d4224e1adac6ac300.png?x-oss-process=image/resize,w_700/format,webp" alt="">
    <ul class="homebanner1">
        <router-link :to="{name: 'utils', params:{proid:item.proid}}" tag='li' v-for='(item, index) of homebannerlist1' :key='index' >
            <div class="img" background-color='red'>
                <img :src="item.proimg" alt="">
            </div>
            <div class="proname">
                {{ item.title }}
            </div>
            <div class="price">
              <div>
                <div class="left">{{ '￥' + item.price }}</div>
                <div class="right">优惠卷</div>
              </div>
              <div></div>
            </div>
        </router-link>
    </ul>
  </div>
</template>

<script>
import axios from 'axios'
export default {
  data () {
    return {
      homebannerlist1: []
    }
  },
  created () {
    axios.get('/pro/brand?type=' + '手机数码').then(res => {
      console.log(res.data.data)
      this.homebannerlist1 = res.data.data
    })
  }
}
</script>
